package com.wangxiang.shop.member.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-02 11:30:18
 */
@Data
@TableName("spu")
public class SpuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private int id;
	/**
	 * 
	 */
	private int spuId;
	/**
	 * 
	 */
	private String dbName;
	/**
	 * 
	 */
	private String title;
	/**
	 * 
	 */
	private double price;
	/**
	 * 
	 */
	private int wareTotal;
	/**
	 * 
	 */
	private String param;
	/**
	 * 
	 */
	private String image;
	/**
	 * 
	 */
	private int status;
	private String store;
	private String brand;
	private String name;
	private String location;
	private String type;
	private String skuId;
	//活动标识
	private int activityKey; //0 没参加活动 1活动标识
	@TableField(exist = false)
	private List<SkuEntity> skuData;
	@TableField(exist = false)
	private List<String> styleList;
	@TableField(exist = false)
	private List<String> sizeList;
	@TableField(exist = false)
	private List<String> imgList;

}
